package org.jix.weblog.web.convert;

import org.jix.weblog.module.common.domain.dos.BlogSettingsDO;
import org.jix.weblog.web.model.vo.FindBlogSettingsDetailRspVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @version 1.0
 * @Author Jix
 * @Date 2024/9/10 19:06
 * @注释
 */

@Mapper
public interface BlogSettingsConvert {

    /**
     * 初始化实例
     */
    BlogSettingsConvert INSTANCE = Mappers.getMapper(BlogSettingsConvert.class);

    /**
     * DO转VO
     * @param bean
     * @return
     */
    FindBlogSettingsDetailRspVO convertDO2VO(BlogSettingsDO bean);
}
